package com.jdzu.model.entity.project;

import com.jdzu.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Schema(description = "项目实体类")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Project extends BaseEntity {

    @Schema(description = "项目ID")
    private Integer projectId;

    @Schema(description = "主持人ID")
    private Integer hostId;

    @Schema(description = "课题名称")
    private String projectName;

    @Schema(description = "课题等级，0为国家级，1为省级，2为校级")
    private Integer projectLevel;

    @Schema(description = "课题状态，0未完成，1已完成")
    private Byte projectStatus;

    @Schema(description = "参与人ID")
    private Integer participantId;

    @Schema(description = "课题开始时间")
    private LocalDate startDate;

}